/**
 * @ProjectName: cqfae-test-springboot-app
 * @Description: ChongQing Financial Assets Exchange.
 */
package com.cqfae.deploycentral.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * <p></p>
 *
 * @author YANGHENG940 2017年3月8日 下午5:29:50
 * @version V1.0
 * @date 2017年3月8日 下午5:29:50
 */
@SpringBootApplication
@EnableAutoConfiguration
public class App {
    private static String appName = "deploy-central";

    private static String env ="spring.profiles.active";

    public static void main(String[] args) {
        if (System.getProperty(env) == null) {
            System.setProperty(env, "dev");
        }
        SpringApplication.run(App.class, args);
    }


}
